<?php
//   +----------------------------------------------------------------------
//   | Copyright (c) 2015-2025 http://www.hdphp.cn All rights reserved.
//   | Licensed ( http://www.hdphp.cn/licenses/ )
//   | Author: Jack <sophia2152@qq.com>
//   | 官方网址: http://www.hdphp.cn
//   | 这不是一个自由软件！您只能在不用于商业目的的前提下对程序代码进行修改和使用。
//   | 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
//   +----------------------------------------------------------------------
namespace hdphp\services\wechat\MiniPayment\Payment;
/**
 *  This file is part of the overtrue/wechat.
 *
 *  (c) overtrue <i@overtrue.me>
 *
 *  This source file is subject to the MIT license that is bundled
 *  with this source code in the file LICENSE.
 */

use Pimple\Container;
use Pimple\ServiceProviderInterface;

/**
 * Class：ServiceProvider
 * 创建人：Jack
 * 创建时间：2023/12/11 15:44
 * @package hdphp\services\wechat\MiniPayment\Payment
 */
class ServiceProvider implements ServiceProviderInterface
{
    /**
     * {@inheritdoc}.
     */
    public function register(Container $app)
    {
        $app['orders'] = function ($app) {
            return new WeChatClient($app);
        };
    }
    
}
